#{set title:'Extranet' /} 
#{extends 'main.html' /}

<!-- barra superior. codigo para mostrar o nome do usuario logado -->
<div class="navbar navbar-fixed-top">
	<div class="navbar-inner">
		<div class="container">
			<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span
				class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
			</a> <a class="brand" align="center"> &nbsp; EXTRANET - Sistema de Controle de Tarefas</a>
			<div>
				<ul class="nav pull-right">

					<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"> Ola,
							<b>${user}</b> <b class="caret"></b>
					</a>
						<ul class="dropdown-menu">
							<li><a href="@{Application.logout()}"> <i class="icon-off"></i> Sair</a></li>
						</ul></li>
				</ul>
			</div>
		</div>
	</div>
</div>

<br /><br /><br />
<label align=center style="width:100%"> <h3> Desempenho Funcion&aacute;rio </h3> </label>
<br /><br />

<table class="table table-striped table-bordered table-condensed" style="width:80%;">
		<tr>
			<th>Funcion&aacute;rio</th>
			<th>Horas Di&aacute;rias</th>
			<th>Qtd. Tarefas em Atraso</th>
			<th>Qtd. Tarefas Conclu&iacute;das no Prazo</th>
		</tr>
	#{list desempenho, as:'d'}
		<tr>
			<th>${d.nome}</th>
			<th>${d.horasDiarias}</th>
			<th>${d.tarefaAtraso}</th>
			<th>${d.tarefaPrazo}</th>
		</tr>
	#{/list}
</table>
			 